<div class="h_left">
<?//require_once('part_ctlist_top.phtml');?>
<div class="album-content">
<?if($this->ret['data']):?>
<?foreach ($this->ret['data'] as $row):?>
	<div class="myalbum" >
		<div class="album-pic">
				<table>
				<tr>
				<td>
				<a href="http://www.<?=DOMAIN?><?= self::_makeURL('index','index','view',array('cid'=>$row['id']))?>">
				<?if(trim($row['ct_cover'])):?>
					<img src="<?=cartoon_util_upload::getUrl($row['ct_cover'])?>"  onerror='defultpic(this)' onload="resizeImg(this,130,130);"  />
				<?else:?>
					<span></span>
				<?endif;?>
			
				</a>
				</td>
				</tr>
				</table>
				</div>
				<ul>
					<li class="title"><a href="http://www.<?=DOMAIN?><?= self::_makeURL('index','index','view',array('cid'=>$row['id']))?>"><?= $row['ct_title']?></a></li>
					<li class="count">共<span><?= $row['ct_sections']?></span>章节</li>
					<li class="create-time"><span>创建于：</span><?= date("Y-m-d",$row['ct_dateline'])?></li>
					<?if(self::$is_self):?>
					<li class="tools">
					<a href="<?=self::_makeURL($this->app,$this->controller,'edit_form',array('id'=>$row['id']))?>" >编辑</a>
					<span class="spacing-line">|</span>
						<a href="<?=self::_makeURL($this->app,$this->controller,'chapter_list',array('ctid'=>$row['id'],'uid'=>$row['ct_uid']))?>" >章节管理</a></li>
					<!--<span class="spacing-line">|</span>
						<a href="javascript:void(0);" onclick="delChapter(<?= $row['id']?>,'<?= self::_makeURL($this->app,'index','remove_chapter')?>')">删除</a></li>-->
					<?else:?>
					<li class="tools"><span class="spacing-line">&nbsp;</span></li>
					<?endif;?>
				</ul>
			</div><!-- myalbum-->
<?endforeach;?>	
<?else:?>
 <i:info type="friendly" xmlns:i="178">您还没有上传过漫画</i:info>
<?endif;?>		
</div>
<?=$this->ret['pages']?>
</div>